package pojo;

public class User {
    private Integer id;
    private String name;
    private String phone;
    private String password;
    private String email;
    private String sign;
    private String bio;
    private String location;
    private boolean sex;

    public User() {
    }

    public User(Integer id, String name, String phone, String password, String email, String sign, String bio, String location, boolean sex) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.password = password;
        this.email = email;
        this.sign = sign;
        this.bio = bio;
        this.location = location;
        this.sex = sex;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getPhone() {
        return phone;
    }

    public String getPassword() {
        return password;
    }

    public String getEmail() {
        return email;
    }

    public String getSign() {
        return sign;
    }

    public String getBio() {
        return bio;
    }

    public String getLocation() {
        return location;
    }

    public boolean isSex() {
        return sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", sign='" + sign + '\'' +
                ", bio='" + bio + '\'' +
                ", location='" + location + '\'' +
                ", sex=" + sex +
                '}';
    }
}
